Total Complexity | 39 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 297 |
Lines of code | 184 |
Logical lines of code | 76 |
Comment lines | 71 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_checkout_block_field() | 49 | 8 | 32 | |
process_checkout() | 47 | 6 | 35 | |
hook_show_checkbox_code() | 50 | 6 | 31 | |
triggered() | 60 | 5 | 13 | |
custom_fields() | 56 | 1 | 18 | |
add_checkbox_after_email_field() | 71 | 2 | 6 | |
before_checkbox_wrapper() | 74 | 2 | 5 | |
after_checkbox_wrapper() | 74 | 2 | 5 | |
get_checkbox_attributes() | 71 | 2 | 5 | |
save_woocommerce_checkout_checkbox_value() | 69 | 2 | 7 | |
checkbox_positions() | 60 | 1 | 14 | |
__construct() | 66 | 1 | 8 | |
initialize() | 72 | 1 | 5 |